import HomeLeft from "@/app/myComponents/server/homeLeft";
import HomeCenter from "@/app/myComponents/server/homeCenter";
import HomeRight from "@/app/myComponents/server/homeRight";

async function Home({ searchParams }: { searchParams?: { menu?: string } }) {
  return (
    <>
      <div className="grid grid-cols-24 gap-4">
        <div className="col-span-4 hidden sm:block">
          <HomeLeft />
        </div>
        <div className="col-span-24 sm:col-span-12">
          <HomeCenter searchParams={searchParams} />
        </div>
        <div className="col-span-8 hidden sm:block">
          <HomeRight />
        </div>
      </div>
    </>
  );
}

export default Home;
